#ifndef __PHYSICS_COMMON_H__
#define __PHYSICS_COMMON_H__
#include "OpenGL.h"
#include "PhysicsVector.h"
#include "PhysicsObject.h"
#include "PhysicsBall.h"
#include "PhysicsBox.h"
#include "PhysicsPlane.h"
typedef struct _PhysicsCamera{
	PhysicsVector position, viewVector;
} PhysicsCamera;
namespace PhysicsEngine{
	int PhysicsInit(int &argc, char** argv);
	void PhysicsResize(int width, int height);
	void PhysicsDisplay();
	void PhysicsIdle();
	void SetInputCallback(void (*callback) (unsigned char key, int x, int y));
	void AdvanceSimulation(unsigned long long t);
	void RunSimulation(void (*callback) (float, float));
	void PhysicsInput(unsigned char key, int x, int y);
	void PhysicsMouseMotion(int x, int y);
	void PhysicsSpecialInput(int key, int x, int y);
	float GetCurrentTime();
	PhysicsCamera& GetCamera();
	void SetSimSpeed(float s);
}
#endif	//__PHYSICS_COMMON_H__
